package com.yylany.vo;

import lombok.AllArgsConstructor;

import lombok.Data;

import lombok.NoArgsConstructor;

/**
 * Description: pinyougou
 *
 * @author <a href="mailto:17777502615@163.com">yaoyonglong</a>
 * @date 2018/12/19
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginResult extends BaseResult {

    /**
     * token 令牌
     */
    private String token;

    /**
     * 用户名称
     */
    private String name;

    public LoginResult(Integer errno, String errmsg, String token) {

        super(errno, errmsg);

        this.token = token;

    }

}
